package entity;

import java.util.Date;

import org.springframework.stereotype.Component;

/**
 * 用户的账号信息
 * @author Administrator
 *
 */
@Component
public class Users {

	private int id;  //编号
	private String username;  //用户的登录账号
	private String password;  //用户的账号密码
	private String nickname;  //用户的昵称
	private String tranPassword;  //用户的交易密码
	private String address;  //用户的地址
	private Date birthday;  //用户的生日信息
	private String intro;  //用户的简介信息
	private String picUrl;  //用户头像存放的路径
	private double balance;  //用户的余额，默认值为0
	private int type;   //用户类型，0普通用户，1会员，2管理员
	private int rankPoint;  //用户的积分，通过上传视频，视频的点击量上升，成为会员都能增加积分，
	
	
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getTranPassword() {
		return tranPassword;
	}
	public void setTranPassword(String tranPassword) {
		this.tranPassword = tranPassword;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getIntro() {
		return intro;
	}
	public void setIntro(String intro) {
		this.intro = intro;
	}
	public String getPicUrl() {
		return picUrl;
	}
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	public double getBalance() {
		return balance;
	}
	public void setBalance(double balance) {
		this.balance = balance;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getRankPoint() {
		return rankPoint;
	}
	public void setRankPoint(int rankPoint) {
		this.rankPoint = rankPoint;
	}
	
}
